package com.guo.entity.service;

import com.github.pagehelper.PageInfo;
import com.guo.entity.Movie;
import com.guo.query.MovieQuery;

import java.util.List;

public interface IMovieService {

     List<Movie> getAll();

     Movie getById(Integer id);

     int updateById(Movie movie);

     int removeById(Integer id);

     int addById(Movie movie);
    //高级分页查询
     PageInfo<Movie> pageAll(MovieQuery movie);

}
